<table>
	<thead>
		<tr>
			<th>项目</th>
            @for($i = 0; $i < 12; $i++)
                <th>{{$i + 1}}月</th>
            @endfor
		</tr>
	</thead>
	<tbody>
        @foreach($data as $k => $v)
		<tr>
			<td>{{$k}}</td>
                @for($i = 0; $i < 12; $i++)
                    <td>{{isset($v[$i+1])?$v[$i + 1]->sum('number'):0}}</td>
                @endfor
		</tr>
         @endforeach
	</tbody>
</table>